package com.venutech.gongan.dao;


import com.venutech.gongan.entity.PoleQrCodeBindHistory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PoleQrCodeBindHistoryMapper {

    int insert(PoleQrCodeBindHistory poleQrCodeBindHistory);

    int insert2(PoleQrCodeBindHistory poleQrCodeBindHistory);

    List<PoleQrCodeBindHistory> getByPoleId(@Param("poleId") int poleId);

    List<PoleQrCodeBindHistory> getByNewQrIdMd5(@Param("newQrIdMd5") String newQrIdMd5);

}
